Q3Line_GetVertexPosition
You can use theQ3Line_GetVertexPosition
function to get the position of a vertex of a line.
TQ3Status Q3Line_GetVertexPosition ( TQ3GeometryObject line, unsigned long index, TQ3Point3D *position);
line
- A line.
index
- An index into the
vertices
array of the specified line. This parameter should have the value 0 or 1.position
- On exit, the position of the specified vertex.
DESCRIPTION
TheQ3Line_GetVertexPosition
function returns, in theposition
parameter, the position of the vertex having the index specified by theindex
parameter in thevertices
array of the line specified by theline
parameter.